<?php

namespace common\jobs;

use Yii;
use yii\base\BaseObject;
use yii\log\Logger;

class LixJob extends BaseObject implements \yii\queue\JobInterface
{
    public function execute($queue)
    {
        // throw new \yii\web\HttpException('执行队列失败');
        Yii::getLogger()->log("触发队列日志", Logger::LEVEL_ERROR);
    }
}
